package com.hhss.qishi.entity;

import com.hhss.qishi.config.annotation.ChineseName;
import com.hhss.qishi.entity.common.BasePojo;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.validation.constraints.NotEmpty;

/**
 * 文章类
 * @Author :Administrator
 * @Description
 * @Date :2019-05-27 15:00.
 */
@Table(name = "tb_article")
public class Article extends BasePojo {

	private static final long serialVersionUID = 4224672708918592609L;

	@NotEmpty
	@Column(name = "title")
	@ChineseName("文章标题")
	private String title;

	@Column(name = "summary")
	@ChineseName("摘要")
	private String summary;

	@Column(name = "content")
	@ChineseName("内容")
	private String content;

	@Column(name = "hits")
	@ChineseName("点击量")
	private String hits;

	@Column(name = "category_id")
	@ChineseName("版块id")
	private String categoryId;

	@Column(name = "article_classification")
	@ChineseName("文章分类")
	private String articleClassification;

	@Column(name = "article_status")
	@ChineseName("文章状态")
	private String articleStatus;

	@Column(name = "article_type")
	@ChineseName("文章类型")
	private String articleType;

	@Column(name = "is_public")
	@ChineseName("是否公开")
	private String isPublic;

	@Column(name = "is_topping")
	@ChineseName("是否置顶")
	private String isTopping;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getHits() {
		return hits;
	}

	public void setHits(String hits) {
		this.hits = hits;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getArticleClassification() {
		return articleClassification;
	}

	public void setArticleClassification(String articleClassification) {
		this.articleClassification = articleClassification;
	}

	public String getArticleStatus() {
		return articleStatus;
	}

	public void setArticleStatus(String articleStatus) {
		this.articleStatus = articleStatus;
	}

	public String getArticleType() {
		return articleType;
	}

	public void setArticleType(String articleType) {
		this.articleType = articleType;
	}

	public String getIsPublic() {
		return isPublic;
	}

	public void setIsPublic(String isPublic) {
		this.isPublic = isPublic;
	}

	public String getIsTopping() {
		return isTopping;
	}

	public void setIsTopping(String isTopping) {
		this.isTopping = isTopping;
	}
}
